//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.kitty.game.jiehun;

import com.kitty.game.ServerService;
import com.kitty.game.enter.FiedValue;
import com.kitty.game.enter.RespUpdate;
import com.kitty.game.enter.TitleInfo;
import com.kitty.game.equip.message.RespNotifyMiscEx;
import com.kitty.game.equip.service.EquipService;
import com.kitty.game.fight.service.BroadcastService;
import com.kitty.game.map.service.MapService;
import com.kitty.game.role.message.RespUpdateMoveSpeed;
import com.kitty.game.role.model.Role;
import com.kitty.game.role.service.RoleService;
import com.kitty.game.system.message.RespSettingInfo;
import com.kitty.game.system.message.vo.SettingInfo;
import com.kitty.game.team.message.RespLeaderCombatGuard;
import com.kitty.game.team.message.RespUpdateTeamList;
import com.kitty.game.team.message.RespUpdateTeamListEX;
import com.kitty.game.team.model.Member;
import com.kitty.game.team.model.Team;
import com.kitty.game.team.service.TeamService;
import com.kitty.game.utils.SenderUtils;
import com.kitty.mina.annotation.RequestMapping;
import com.kitty.mina.cache.DataCache;
import com.kitty.mina.message.MessagePusher;
import java.text.MessageFormat;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.concurrent.TimeUnit;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

@Controller
public class JiehunController {
  Logger logger = LoggerFactory.getLogger(JiehunController.class);
  @Autowired
  TeamService teamService;
  @Autowired
  RoleService roleService;
  @Autowired
  MapService mapService;
  @Autowired
  BroadcastService broadService;
  @Autowired
  ServerService serverService;
  @Autowired
  EquipService equipService;
  static Role npc1 = null;
  static Role npc2 = null;
  static Role yahuan1 = null;
  static Role yahuan2 = null;
  static Role labashou = null;
  static Role qiaoluoshou = null;
  static Role hupaishou1 = null;
  static Role hupaishou2 = null;
  static Role zhuque1 = null;
  static Role zhuque2 = null;
  static Role zhuque3 = null;
  static Role zhuque4 = null;
  static Role zhuque5 = null;
  static Role zhuque6 = null;
  static Role zhuque7 = null;
  static Role zhuque8 = null;
  static int[] npcIds = new int[]{404655, 404656, 404658, 404659, 404660, 404661, 404662, 404663, 404664, 404665, 404666, 404667, 404668, 404669, 404670, 404671};

  public JiehunController() {
  }




  public static void openDanmu(Role role) {
    RespOpenWeddingChannel respOpenWeddingChannel = new RespOpenWeddingChannel();
    respOpenWeddingChannel.setStartTime(Integer.valueOf((int)(System.currentTimeMillis() / 1000L)));
    MessagePusher.pushMessage(role, respOpenWeddingChannel);
  }

  public static void closeDanmu(Role role) {

  }

  public  boolean sendDanmu(Role role, String msg) {

    int i = Integer.parseInt(DataCache.REDIS_DATA.get("xiaoxingzhadan"));

    int count = equipService.getCount("小型炸弹", true, role);
    if (count < i) {
      MessagePusher.pushMessage(role, new RespNotifyMiscEx("小型炸弹不足"+i+"个"));
      return false ;
    }
    equipService.delRoloEquip("小型炸弹", i, true, role);


    RespSendMsgChannel respSendMsgChannel = new RespSendMsgChannel();
    respSendMsgChannel.setGid(role.getUid()+"");
    respSendMsgChannel.setMsg(role.getName()+":"+msg);
    respSendMsgChannel.setType((byte)1);
    //MessagePusher.sendAllOnlinePlayers(role, respSendMsgChannel);
    SenderUtils.sendAllOnlinePlayers(respSendMsgChannel);

    return true;
  }



  private boolean containsNpcRoleId(int roleId) {
    int[] var2 = npcIds;
    int var3 = var2.length;

    for(int var4 = 0; var4 < var3; ++var4) {
      int i = var2[var4];
      if (i == roleId) {
        return true;
      }
    }

    return false;
  }

  private Role createNpc(int roleId, int roleIcon, int type, int sub_type, String name, long uid, String sid) {
    Role npc = new Role();
    npc.setRoleId(roleId);
    npc.setRoleIcon((short)roleIcon);
    npc.type = type;
    npc.sub_type = sub_type;
    npc.setName(name);
    npc.setUid(uid);
    npc.setSid(sid);
    npc.save();
    DataCache.ONLINE_ROLES.put(npc.getUid(), npc);
    return npc;
  }

  @RequestMapping
  public void reqStartWedding(final Role role, ReqStartWedding reqStartWedding) {
    JiehunService.WEDDING = true;
    Team team = this.teamService.getTeam(role.getRoleId());
    List<Member> list = team.getList();
    int leaderId = team.getLeaderRoleId();
    Member leader = null;
    Member other = null;
    Iterator var8 = list.iterator();

    while(var8.hasNext()) {
      Member member = (Member)var8.next();
      if (member.getRoleId() == leaderId) {
        leader = member;
      } else {
        other = member;
      }
    }

    Role leaderRole = this.roleService.getOnlinePlayer(leader.getUid());
    final Role otherRole = this.roleService.getOnlinePlayer(other.getUid());
    int speedPercent = 206;
    List<SettingInfo> lists = new ArrayList();
    SettingInfo settingInfo = new SettingInfo();
    settingInfo.setSettingName("sight_scope");
    settingInfo.setSettingVaule((short)0);
    lists.add(settingInfo);
    RespSettingInfo respSettingInfo = new RespSettingInfo();
    respSettingInfo.setList(lists);
    MessagePusher.pushMessage(role, respSettingInfo);
    MessagePusher.pushMessage(otherRole, respSettingInfo);
    RespUpdateMoveSpeed respUpdateMoveSpeed = new RespUpdateMoveSpeed();
    respUpdateMoveSpeed.setRoleId(role.getRoleId());
    respUpdateMoveSpeed.setMoveSpeedPercent((byte)speedPercent);
    MessagePusher.pushMessage(role, respUpdateMoveSpeed);
    RespUpdateMoveSpeed respUpdateMoveSpeed2 = new RespUpdateMoveSpeed();
    respUpdateMoveSpeed2.setRoleId(otherRole.getRoleId());
    respUpdateMoveSpeed2.setMoveSpeedPercent((byte)speedPercent);
    MessagePusher.pushMessage(role, respUpdateMoveSpeed2);
    MessagePusher.pushMessage(otherRole, respUpdateMoveSpeed);
    MessagePusher.pushMessage(otherRole, respUpdateMoveSpeed2);
    RespUpdate respUpdate = new RespUpdate();
    respUpdate.setRoleId(role.getRoleId());
    List<FiedValue> listUpdate1 = new ArrayList();
    listUpdate1.add(new FiedValue(87, (byte)1));
    respUpdate.setList(listUpdate1);
    MessagePusher.pushMessage(role, respUpdate);
    RespUpdate respUpdate2 = new RespUpdate();
    respUpdate2.setRoleId(otherRole.getRoleId());
    List<FiedValue> listUpdate2 = new ArrayList();
    listUpdate2.add(new FiedValue(87, (byte)1));
    respUpdate2.setList(listUpdate2);
    MessagePusher.pushMessage(otherRole, respUpdate2);
    RespTeamCommanderGid respTeamCommanderGid = new RespTeamCommanderGid();
    respTeamCommanderGid.setGid("");
    MessagePusher.pushMessage(role, respTeamCommanderGid);
    MessagePusher.pushMessage(otherRole, respTeamCommanderGid);
    RespLeaderCombatGuard respLeaderCombatGuard = new RespLeaderCombatGuard();
    respLeaderCombatGuard.setList(new ArrayList());
    MessagePusher.pushMessage(role, respLeaderCombatGuard);
    MessagePusher.pushMessage(otherRole, respLeaderCombatGuard);
    RespUpdateTeamList respUpdateTeamList = new RespUpdateTeamList();
    respUpdateTeamList.setList(new ArrayList());
    MessagePusher.pushMessage(role, respUpdateTeamList);
    MessagePusher.pushMessage(otherRole, respUpdateTeamList);
    RespUpdateTeamListEX respUpdateTeamListEX = new RespUpdateTeamListEX();
    respUpdateTeamListEX.setList(new ArrayList());
    MessagePusher.pushMessage(role, respUpdateTeamListEX);
    MessagePusher.pushMessage(otherRole, respUpdateTeamListEX);
    RespWeddingNow respWeddingNow = new RespWeddingNow();
    respWeddingNow.setResult((byte)1);
    respWeddingNow.setIsPlayingWeddingMusic((byte)1);
    MessagePusher.pushMessage(role, respWeddingNow);
    MessagePusher.pushMessage(otherRole, respWeddingNow);
    role.isHide = 1;
    otherRole.isHide = 1;
    this.mapService.changeMapWithDir(role, 5000, 177, 113, 0);
    this.mapService.changeMapWithDir(otherRole, 5000, 177, 113, 0);
    RespAnimateInUI respAnimateInUI = new RespAnimateInUI();
    respAnimateInUI.setId(role.getRoleId());
    respAnimateInUI.setEffect_no(8262);
    respAnimateInUI.setOrder(0);
    respAnimateInUI.setLocate(0);
    respAnimateInUI.setLoops(1);
    respAnimateInUI.setInterval(0);
    respAnimateInUI.setDuring(0);
    MessagePusher.pushMessage(role, respAnimateInUI);
    respAnimateInUI.setId(otherRole.getRoleId());
    MessagePusher.pushMessage(otherRole, respAnimateInUI);
    RespBanner respBanner = new RespBanner();
    respBanner.setType((byte)1);
    respBanner.setTitle("");
    String bannerContent = MessageFormat.format("恭喜新郎#Y{0}#n与新娘#Y{1}#n喜结良缘。", role.getName(), otherRole.getName());
    respBanner.setContent(bannerContent);
    respBanner.setTime(10);
    respBanner.setOrder((short)128);
    SenderUtils.sendAllOnlinePlayers(respBanner);
    npc1 = this.createNpc(404655, 42104, 512, 27, otherRole.getName(), 1L, "1");
    this.mapService.changeMapWithDir(npc1, 5000, 183, 117, 0);
    npc2 = this.createNpc(404656, 42105, 512, 27, role.getName(), 2L, "2");
    this.mapService.changeMapWithDir(npc2, 5000, 175, 112, 1);
    yahuan1 = this.createNpc(404658, 42401, 512, 0, "丫鬟", 3L, "3");
    this.mapService.changeMapWithDir(yahuan1, 5000, 174, 115, 0);
    yahuan2 = this.createNpc(404659, 42401, 512, 0, "丫鬟", 4L, "4");
    this.mapService.changeMapWithDir(yahuan2, 5000, 180, 111, 0);
    labashou = this.createNpc(404660, 42402, 512, 0, "喇叭手", 5L, "5");
    this.mapService.changeMapWithDir(labashou, 5000, 177, 117, 1);
    qiaoluoshou = this.createNpc(404661, 42405, 512, 0, "敲锣手", 6L, "6");
    this.mapService.changeMapWithDir(qiaoluoshou, 5000, 183, 113, 1);
    hupaishou1 = this.createNpc(404662, 42404, 512, 0, "护牌手", 7L, "7");
    this.mapService.changeMapWithDir(hupaishou1, 5000, 180, 119, 0);
    hupaishou2 = this.createNpc(404663, 42404, 512, 0, "护牌手", 8L, "8");
    this.mapService.changeMapWithDir(hupaishou2, 5000, 186, 115, 0);
    zhuque1 = this.createNpc(404664, 6192, 512, 0, "朱雀护卫", 9L, "9");
    this.mapService.changeMapWithDir(zhuque1, 5000, 192, 119, 1);
    zhuque2 = this.createNpc(404665, 6192, 512, 0, "朱雀护卫", 10L, "10");
    this.mapService.changeMapWithDir(zhuque2, 5000, 186, 123, 1);
    zhuque3 = this.createNpc(404666, 6192, 512, 0, "朱雀护卫", 11L, "11");
    this.mapService.changeMapWithDir(zhuque3, 5000, 171, 113, 0);
    zhuque4 = this.createNpc(404667, 6192, 512, 0, "朱雀护卫", 12L, "12");
    this.mapService.changeMapWithDir(zhuque4, 5000, 177, 109, 0);
    zhuque5 = this.createNpc(404668, 6192, 512, 0, "朱雀护卫", 13L, "13");
    this.mapService.changeMapWithDir(zhuque5, 5000, 183, 121, 1);
    zhuque6 = this.createNpc(404669, 6192, 512, 0, "朱雀护卫", 14L, "14");
    this.mapService.changeMapWithDir(zhuque6, 5000, 189, 117, 1);
    zhuque7 = this.createNpc(404670, 6192, 512, 0, "朱雀护卫", 15L, "15");
    this.mapService.changeMapWithDir(zhuque7, 5000, 168, 111, 0);
    zhuque8 = this.createNpc(404671, 6192, 512, 0, "朱雀护卫", 16L, "16");
    this.mapService.changeMapWithDir(zhuque8, 5000, 174, 107, 0);
    JiehunService.YOUXING = true;
    this.serverService.getScheduledExecutorService().schedule(new Runnable() {
      public void run() {
        JiehunController.this.beginYouxing(role, otherRole);
        JiehunController.this.mapService.leaveMap(JiehunController.npc1, 5000);
        JiehunController.this.mapService.leaveMap(JiehunController.npc2, 5000);
        JiehunController.this.mapService.leaveMap(JiehunController.yahuan1, 5000);
        JiehunController.this.mapService.leaveMap(JiehunController.yahuan2, 5000);
        JiehunController.this.mapService.leaveMap(JiehunController.labashou, 5000);
        JiehunController.this.mapService.leaveMap(JiehunController.qiaoluoshou, 5000);
        JiehunController.this.mapService.leaveMap(JiehunController.hupaishou1, 5000);
        JiehunController.this.mapService.leaveMap(JiehunController.hupaishou2, 5000);
        JiehunController.this.mapService.leaveMap(JiehunController.zhuque1, 5000);
        JiehunController.this.mapService.leaveMap(JiehunController.zhuque2, 5000);
        JiehunController.this.mapService.leaveMap(JiehunController.zhuque3, 5000);
        JiehunController.this.mapService.leaveMap(JiehunController.zhuque4, 5000);
        JiehunController.this.mapService.leaveMap(JiehunController.zhuque5, 5000);
        JiehunController.this.mapService.leaveMap(JiehunController.zhuque6, 5000);
        JiehunController.this.mapService.leaveMap(JiehunController.zhuque7, 5000);
        JiehunController.this.mapService.leaveMap(JiehunController.zhuque8, 5000);
        role.isHide = 0;
        otherRole.isHide = 0;
        String roleTitle = otherRole.getName() + "的相公";
        String otherTitle = role.getName() + "的娘子";
        role.setCurrTitle(roleTitle);
        otherRole.setCurrTitle(otherTitle);
        JiehunController.this.roleService.addTitle(role, new TitleInfo("结婚", roleTitle));
        JiehunController.this.roleService.addTitle(otherRole, new TitleInfo("结婚", otherTitle));
        JiehunController.this.mapService.changeMap(role, 28007, 24, 23);
        JiehunController.this.mapService.changeMap(otherRole, 28007, 24, 23);
        RespWeddingNow respWeddingNow2 = new RespWeddingNow();
        respWeddingNow2.setResult((byte)0);
        respWeddingNow2.setIsPlayingWeddingMusic((byte)1);
        MessagePusher.pushMessage(role, respWeddingNow2);
        MessagePusher.pushMessage(otherRole, respWeddingNow2);
        List<SettingInfo> lists2 = new ArrayList();
        SettingInfo settingInfo2 = new SettingInfo();
        settingInfo2.setSettingName("sight_scope");
        settingInfo2.setSettingVaule((short)1);
        lists2.add(settingInfo2);
        RespSettingInfo respSettingInfo2 = new RespSettingInfo();
        respSettingInfo2.setList(lists2);
        MessagePusher.pushMessage(role, respSettingInfo2);
        MessagePusher.pushMessage(otherRole, respSettingInfo2);
        RespUpdateMoveSpeed respUpdateMoveSpeeda = new RespUpdateMoveSpeed();
        respUpdateMoveSpeeda.setRoleId(role.getRoleId());
        respUpdateMoveSpeeda.setMoveSpeedPercent((byte)0);
        MessagePusher.pushMessage(role, respUpdateMoveSpeeda);
        RespUpdateMoveSpeed respUpdateMoveSpeed2a = new RespUpdateMoveSpeed();
        respUpdateMoveSpeed2a.setRoleId(otherRole.getRoleId());
        respUpdateMoveSpeed2a.setMoveSpeedPercent((byte)0);
        MessagePusher.pushMessage(role, respUpdateMoveSpeed2a);
        MessagePusher.pushMessage(otherRole, respUpdateMoveSpeeda);
        MessagePusher.pushMessage(otherRole, respUpdateMoveSpeed2a);
        RespUpdate respUpdatea = new RespUpdate();
        respUpdatea.setRoleId(role.getRoleId());
        List<FiedValue> listUpdate1a = new ArrayList();
        listUpdate1a.add(new FiedValue(87, (byte)0));
        respUpdatea.setList(listUpdate1a);
        MessagePusher.pushMessage(role, respUpdatea);
        RespUpdate respUpdate2a = new RespUpdate();
        respUpdate2a.setRoleId(otherRole.getRoleId());
        List<FiedValue> listUpdate2a = new ArrayList();
        listUpdate2a.add(new FiedValue(87, (byte)0));
        respUpdate2a.setList(listUpdate2a);
        MessagePusher.pushMessage(otherRole, respUpdate2a);
        JiehunController.this.teamService.leave(role, false);
        JiehunController.this.teamService.leave(otherRole, false);
        JiehunController.npc1.setDelete(true);
        JiehunController.npc2.setDelete(true);
        JiehunController.yahuan1.setDelete(true);
        JiehunController.yahuan2.setDelete(true);
        JiehunController.labashou.setDelete(true);
        JiehunController.qiaoluoshou.setDelete(true);
        JiehunController.hupaishou1.setDelete(true);
        JiehunController.hupaishou2.setDelete(true);
        JiehunController.zhuque1.setDelete(true);
        JiehunController.zhuque2.setDelete(true);
        JiehunController.zhuque3.setDelete(true);
        JiehunController.zhuque4.setDelete(true);
        JiehunController.zhuque5.setDelete(true);
        JiehunController.zhuque6.setDelete(true);
        JiehunController.zhuque7.setDelete(true);
        JiehunController.zhuque8.setDelete(true);
        JiehunController.npc1.save();
        JiehunController.npc2.save();
        JiehunController.yahuan1.save();
        JiehunController.yahuan2.save();
        JiehunController.labashou.save();
        JiehunController.qiaoluoshou.save();
        JiehunController.hupaishou1.save();
        JiehunController.hupaishou2.save();
        JiehunController.zhuque1.save();
        JiehunController.zhuque2.save();
        JiehunController.zhuque3.save();
        JiehunController.zhuque4.save();
        JiehunController.zhuque5.save();
        JiehunController.zhuque6.save();
        JiehunController.zhuque7.save();
        JiehunController.zhuque8.save();
        DataCache.ONLINE_ROLES.remove(JiehunController.npc1.getUid());
        DataCache.ONLINE_ROLES.remove(JiehunController.npc2.getUid());
        DataCache.ONLINE_ROLES.remove(JiehunController.yahuan1.getUid());
        DataCache.ONLINE_ROLES.remove(JiehunController.yahuan2.getUid());
        DataCache.ONLINE_ROLES.remove(JiehunController.labashou.getUid());
        DataCache.ONLINE_ROLES.remove(JiehunController.qiaoluoshou.getUid());
        DataCache.ONLINE_ROLES.remove(JiehunController.hupaishou1.getUid());
        DataCache.ONLINE_ROLES.remove(JiehunController.hupaishou2.getUid());
        DataCache.ONLINE_ROLES.remove(JiehunController.zhuque1.getUid());
        DataCache.ONLINE_ROLES.remove(JiehunController.zhuque2.getUid());
        DataCache.ONLINE_ROLES.remove(JiehunController.zhuque3.getUid());
        DataCache.ONLINE_ROLES.remove(JiehunController.zhuque4.getUid());
        DataCache.ONLINE_ROLES.remove(JiehunController.zhuque5.getUid());
        DataCache.ONLINE_ROLES.remove(JiehunController.zhuque6.getUid());
        DataCache.ONLINE_ROLES.remove(JiehunController.zhuque7.getUid());
        DataCache.ONLINE_ROLES.remove(JiehunController.zhuque8.getUid());
        JiehunController.npc1 = null;
        JiehunController.npc2 = null;
        JiehunController.yahuan1 = null;
        JiehunController.yahuan2 = null;
        JiehunController.labashou = null;
        JiehunController.qiaoluoshou = null;
        JiehunController.hupaishou1 = null;
        JiehunController.hupaishou2 = null;
        JiehunController.zhuque1 = null;
        JiehunController.zhuque2 = null;
        JiehunController.zhuque3 = null;
        JiehunController.zhuque4 = null;
        JiehunController.zhuque5 = null;
        JiehunController.zhuque6 = null;
        JiehunController.zhuque7 = null;
        JiehunController.zhuque8 = null;
        JiehunService.WEDDING = false;
      }
    }, 8L, TimeUnit.SECONDS);
  }

  private void beginYouxing(Role role, Role otherRole) {
    String[] var3 = YouxingData.yxTYC;
    int var4 = var3.length;

    for(int var5 = 0; var5 < var4; ++var5) {
      String s = var3[var5];
      if (s != null) {
        s = s.replaceAll("\\s+", "");
        if (s.length() != 0) {
          if (s.contains("=")) {
            try {
              Thread.sleep(1600L);
            } catch (InterruptedException var11) {
              var11.printStackTrace();
            }
          } else if (s.contains("*")) {
            RespAnimateInUI respAnimateInUI = new RespAnimateInUI();
            respAnimateInUI.setId(404655);
            respAnimateInUI.setEffect_no(8262);
            respAnimateInUI.setOrder(0);
            respAnimateInUI.setLocate(0);
            respAnimateInUI.setLoops(1);
            respAnimateInUI.setInterval(0);
            respAnimateInUI.setDuring(0);
            Iterator var13 = DataCache.ONLINE_ROLES.values().iterator();

            while(var13.hasNext()) {
              Role r = (Role)var13.next();
              if (!this.containsNpcRoleId(r.getRoleId()) && r.getPos().getMapId() == 5000) {
                MessagePusher.pushMessage(r, respAnimateInUI);
              }
            }
          } else if (s.contains("402f")) {
            int x = Integer.parseInt(s.substring(4, 8), 16);
            int y = Integer.parseInt(s.substring(8, 12), 16);
            int roleId = Integer.parseInt(s.substring(12, 20), 16);
            int dir = Integer.parseInt(s.substring(20, 22), 16);
            switch(roleId) {
              case 108646:
                this.mapService.movePosition(role, x, y, dir, 5000);
                break;
              case 108894:
                this.mapService.movePosition(otherRole, x, y, dir, 5000);
                break;
              case 404655:
                this.mapService.movePosition(npc1, x, y, dir, 5000);
                break;
              case 404656:
                this.mapService.movePosition(npc2, x, y, dir, 5000);
                break;
              case 404658:
                this.mapService.movePosition(yahuan1, x, y, dir, 5000);
                break;
              case 404659:
                this.mapService.movePosition(yahuan2, x, y, dir, 5000);
                break;
              case 404660:
                this.mapService.movePosition(labashou, x, y, dir, 5000);
                break;
              case 404661:
                this.mapService.movePosition(qiaoluoshou, x, y, dir, 5000);
                break;
              case 404662:
                this.mapService.movePosition(hupaishou1, x, y, dir, 5000);
                break;
              case 404663:
                this.mapService.movePosition(hupaishou2, x, y, dir, 5000);
                break;
              case 404664:
                this.mapService.movePosition(zhuque1, x, y, dir, 5000);
                break;
              case 404665:
                this.mapService.movePosition(zhuque2, x, y, dir, 5000);
                break;
              case 404666:
                this.mapService.movePosition(zhuque3, x, y, dir, 5000);
                break;
              case 404667:
                this.mapService.movePosition(zhuque4, x, y, dir, 5000);
                break;
              case 404668:
                this.mapService.movePosition(zhuque5, x, y, dir, 5000);
                break;
              case 404669:
                this.mapService.movePosition(zhuque6, x, y, dir, 5000);
                break;
              case 404670:
                this.mapService.movePosition(zhuque7, x, y, dir, 5000);
                break;
              case 404671:
                this.mapService.movePosition(zhuque8, x, y, dir, 5000);
            }
          }
        }
      }
    }

    JiehunService.YOUXING = false;
  }
}
